package com.example.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2023-02-17
 * Time: 19:51
 */
@RestController
@Slf4j
public class StudentController {

    public void sayHello() {
        log.trace("Hi,i am trace");
        log.debug("Hi,i am debug");
        log.info("Hi,i am info");
        log.warn("Hi,i am warn");
        log.error("Hi,i am error");

    }
}
